<?php 
	if(isset($_GET['id'])){
		$listId=$_GET['id'];
		$list=$this->db->query("SELECT * FROM boc_article WHERE cid = 6 AND audit = 1 AND  date(FROM_UNIXTIME(timeline)) = '$listId'")->result_array();
		//var_dump($list);exit;
	}
?>
<div class="wrap mCustomScrollbar">
<?php if(!empty($list)):?>
<?php foreach($list as $k=>$v):?>
<a class="list js-list" news-id="<?php echo $v['id'];?>">
    <h4><?php echo $v['title']?></h4>
    <div class="text"><?php echo msubstr(str_replace('&nbsp;','',trim(strip_tags($v['content']))),0,120);?></div>
</a>
<?php endforeach;?>
<?php endif;?>

</div>
<div class="back-btn"><p>返回</p></div>